<!doctype html>
<html>
<head>
<meta charset="<?php echo $cfg_soft_lang; ?>">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="applicable-device" content="pc,mobile">
<title><?php echo $cfg_webname;?>_友情链接交换在线申请</title>
<link href="<?php echo $cfg_templets_skin; ?>/style/bootstrap.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div class="container">
  <h2 class="mt-3"><a href="<?php echo $cfg_basehost;?>" title="<?php echo $cfg_webname;?>"><img src="<?php echo $cfg_templets_skin; ?>/images/logo.png" alt="<?php echo $cfg_webname;?>"/></a> </h2>
  <hr class="my-3 border" />
  <p>当前位置:<a href="<?php echo $cfg_basehost;?>" title="<?php echo $cfg_webname;?>" target="_blank"><?php echo $cfg_webname;?></a> > 在线申请交换友链</p>
</div>
<div class="container bg-white py-3">
  <h1 class="text-center">友情链接交换申请</h1>
  <h4> <a href="<?php echo "$cfg_phpurl/flink.php"; ?>">查看所有链接</a> </h4>
  <p>如果你希望和<?php echo $cfg_webname;?>交换友情链接，请认真填写你的需要交换链接的网站信息，并且先做好本站的友情链接，方便审核通过，一般审核时间3天之内，不论是否通过都会以邮件形式通知你，<b>请不要重复提交</b>。加*为必填项，其他可留空不用填写。</p>
</div>
<div class="container bg-white my-3">
  <div class="row">
    <div class="col-12 col-lg-6">
      <form name="form1" method="post" action="flink.php">
        <input type='hidden' name='dopost' value='save'>
        <div class="input-group flex-nowrap my-2">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">交换网址：</span> </div>
          <input name="url" type="text" id="url" value="http://" size="30" class="form-control">
          <span class="text-danger">*</span> </div>
        <div class="input-group flex-nowrap my-2">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">网站名称：</span> </div>
          <input name="webname" type="text" id="webname" size="30" class="form-control">
          <span class="text-danger">*</span> </div>
        <div class="input-group flex-nowrap my-2">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">网站logo：</span> </div>
          <input name="logo" type="text" id="logo" size="30" class="form-control">
          (88*31 gif或jpg) </div>
        <div class="input-group flex-nowrap my-2">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">网站简介：</span> </div>
          <textarea name="msg" cols="40" rows="4" id="msg" class="form-control"></textarea>
        </div>
        <div class="input-group flex-nowrap my-2">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">联系Email：</span> </div>
          <input name="email" type="text" id="email" size="30" class="form-control">
          <span class="text-danger">*</span> </div>
        <div class="input-group mb-3">
          <div class="input-group-prepend">
            <label class="input-group-text" for="inputGroupSelect01">显示位置：</label>
          </div>
          <select class="custom-select" name="typeid" id="typeid" >
            <?php
        
        $dsql->SetQuery("select * from #@__flinktype");
        $dsql->Execute();
        while($row=$dsql->GetObject())
        {
        	echo "	<option value='".$row->id."'>".$row->typename."</option>\r\n";
        }
        ?>
          </select>
        </div>
        <div class="input-group flex-nowrap">
          <div class="input-group-prepend"> <span class="input-group-text" id="addon-wrapping">验证码：</span> </div>
          <input name="validate" type="text" id="vdcode2" size="10" class="ipt-txt" style="text-transform: uppercase;">
          <img src='../include/vdimgck.php' style="cursor:pointer" onclick="this.src=this.src+'?'" title="点击我更换图片" alt="点击我更换图片" /> </div>
        <div class="my-2">
          <input type="submit" name="Submit" value=" 提 交 " class="btn-2">
          <input type="reset" name="Submit" value=" 重 置 " class="btn-2">
        </div>
      </form>
    </div>
  </div>
</div>
<div class="container bg-white">
  <div class="p-3">
    <p class="text-danger">请先做好本站的友情链接，在检查友链时如果贵站无本站友情链接将审核不通过；友链审核联系：<?php echo $cfg_zzemail;?></p>
    <h3>本站锚链接信息：</h3>
    网站名称：<?php echo $cfg_indexname;?><br>
    URL链接：<?php echo $cfg_basehost;?><br>
  </div>
  <hr class="my-3 border" />
  <p class="my-3"> Powered by <?php echo $cfg_webname;?> &copy; 2019-<?php echo $showtime=date("Y");?>&nbsp;&nbsp;<?php echo $cfg_beian; ?> 
</p>
</div>
<script language="javascript" type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/jquery-3.4.1.slim.min.js" ></script> 
<script language="javascript" type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/popper.min.js" ></script> 
<script language="javascript" type="text/javascript" src="<?php echo $cfg_templets_skin; ?>/js/bootstrap.min.js" ></script>
</body>
</html>
